package com.cms.gdm.feign;

import com.cms.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("cms-stu")
public interface StuFeign {

    @RequestMapping("/stu/student/info/{id}")
    R info(@PathVariable("id") Long id);

    @RequestMapping("/stu/student/selectInfoById/{id}")
    R selectInfoById(@PathVariable("id") Long id);
}
